package com.sch.hospital.domain;

import java.time.LocalDate;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 医院信息对象 hospital
 * 
 * @author ruoyi
 * @date 2025-06-30
 */
public class Hospital
{
    /** 医院ID，自增主键 */
    private Long id;

    /** 医院名称 */
    private String name;

    /** 医院等级 */
    private String level;

    /** 医院类型 */
    private String type;

    /** 医院地址 */
    private String address;

    /** 联系电话 */
    private String phone;

    /** 医院网站 */
    private String website;

    /** 成立时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date foundDate;

    /** 医院简介 */
    private String introduction;

    /** Logo路径 */
    private String logo;

    /** 医院图片，多个以逗号分隔 */
    private String images;

    /** 营业模式:0每天相同,1自定义 */
    private Long businessHoursMode;

    /** 营业时间数据，JSON格式 */
    private String businessHoursData;

    /** 创建时间 */
    private LocalDate createTime;

    /** 更新时间 */
    private LocalDate updateTime;

    public Hospital() {
    }

    public Hospital(Long id, String name, String level, String type, String address, String phone, String website, Date foundDate, String introduction, String logo, String images, Long businessHoursMode, String businessHoursData, LocalDate createTime, LocalDate updateTime) {
        this.id = id;
        this.name = name;
        this.level = level;
        this.type = type;
        this.address = address;
        this.phone = phone;
        this.website = website;
        this.foundDate = foundDate;
        this.introduction = introduction;
        this.logo = logo;
        this.images = images;
        this.businessHoursMode = businessHoursMode;
        this.businessHoursData = businessHoursData;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return level
     */
    public String getLevel() {
        return level;
    }

    /**
     * 设置
     * @param level
     */
    public void setLevel(String level) {
        this.level = level;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return website
     */
    public String getWebsite() {
        return website;
    }

    /**
     * 设置
     * @param website
     */
    public void setWebsite(String website) {
        this.website = website;
    }

    /**
     * 获取
     * @return foundDate
     */
    public Date getFoundDate() {
        return foundDate;
    }

    /**
     * 设置
     * @param foundDate
     */
    public void setFoundDate(Date foundDate) {
        this.foundDate = foundDate;
    }

    /**
     * 获取
     * @return introduction
     */
    public String getIntroduction() {
        return introduction;
    }

    /**
     * 设置
     * @param introduction
     */
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    /**
     * 获取
     * @return logo
     */
    public String getLogo() {
        return logo;
    }

    /**
     * 设置
     * @param logo
     */
    public void setLogo(String logo) {
        this.logo = logo;
    }

    /**
     * 获取
     * @return images
     */
    public String getImages() {
        return images;
    }

    /**
     * 设置
     * @param images
     */
    public void setImages(String images) {
        this.images = images;
    }

    /**
     * 获取
     * @return businessHoursMode
     */
    public Long getBusinessHoursMode() {
        return businessHoursMode;
    }

    /**
     * 设置
     * @param businessHoursMode
     */
    public void setBusinessHoursMode(Long businessHoursMode) {
        this.businessHoursMode = businessHoursMode;
    }

    /**
     * 获取
     * @return businessHoursData
     */
    public String getBusinessHoursData() {
        return businessHoursData;
    }

    /**
     * 设置
     * @param businessHoursData
     */
    public void setBusinessHoursData(String businessHoursData) {
        this.businessHoursData = businessHoursData;
    }

    /**
     * 获取
     * @return createTime
     */
    public LocalDate getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateTime
     */
    public LocalDate getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(LocalDate updateTime) {
        this.updateTime = updateTime;
    }

    public String toString() {
        return "Hospital{id = " + id + ", name = " + name + ", level = " + level + ", type = " + type + ", address = " + address + ", phone = " + phone + ", website = " + website + ", foundDate = " + foundDate + ", introduction = " + introduction + ", logo = " + logo + ", images = " + images + ", businessHoursMode = " + businessHoursMode + ", businessHoursData = " + businessHoursData + ", createTime = " + createTime + ", updateTime = " + updateTime + "}";
    }
}
